package com.sunxd.vue.application.facade;

import com.sunxd.vue.bean.Response;
import com.sunxd.vue.bean.request.UserPageReq;
import com.sunxd.vue.bean.request.UserReq;
import com.sunxd.vue.bean.request.UserUpdateReq;
import com.sunxd.vue.bean.response.UserVo;
import com.sunxd.vue.infrastructure.adapter.db.base.Paging;

/**
 * @author sun.xd
 * @description: description
 * @date 2024/4/2 10:50
 */
public interface UserFacade {
    Response<Boolean> create(UserReq req);
    Response<Boolean> update(UserUpdateReq req);
    Response<Paging<UserVo>> page(UserPageReq req);
    Response<UserVo> detail(UserReq req);
    Response<Boolean> testTran(UserReq req);
}
